package com.example.common;

import java.util.HashMap;
import java.util.Map;

public class Ra {
    private int code=200;

    private String message="成功";

    private Map<String, Object> datamap=new HashMap<>();

    public int getCode() {
        return code;
    }

    public com.example.common.Ra setCode(int code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public com.example.common.Ra setMessage(String message) {
        this.message = message;
        return this;
    }

    public Map<String, Object> getDatamap() {
        return datamap;
    }

    public com.example.common.Ra setDatamap(Map<String, Object> datamap) {
        this.datamap = datamap;
        return this;
    }


    public com.example.common.Ra AddDatamap(String key, Object value) {
        datamap.put(key,value);
        return this;
    }
}
